package CreationalPattern.Builder;

public class BuilderTest {
    public static void main(String[] args) {
        ActorBuilder actorBuilder;
        actorBuilder = (ActorBuilder) XMLUtil.getBean();
        ActorController actorController = new ActorController();
        Actor actor = actorController.construct(actorBuilder);
        System.out.println(actor.getType());
        System.out.println(actor.getFace());
        System.out.println(actor.getSex());
    }

}
